{extend name="base/main" }

{block name="body"}
<style>
    .zb-list {
        /*margin-top: 50px;*/
        padding: 10px 20px;
        font-size: 14px;
    }

    .zb-item {
        width: 100%;
        background: url('/assets/wap/app2.gif') no-repeat;
        background-size: 14px 14px;
        background-position: left center;
        white-space: nowrap;
        overflow: hidden;
        line-height: 25px;

    }

    .zb-item a {
        color: #3F80B8;
        margin-left: 20px;
    }
</style>
<div class="zb-list">
    <?php foreach($doclist as $v): ?>
    <div class="zb-item">
        <a href="/news/info/<?php echo $v['id']; ?>">
            <?php echo $v['title']; ?>
        </a>
    </div>
    <?php endforeach; ?>

</div>


<div class='m-page'>
    <a class='disabled' href='?page=1'>首页</a>
    <a class='disabled' href='<?php echo '
        ?page='.($doclist->currentPage()-1 > 1 ? $doclist->currentPage()-1 : 1); ?>'>上页</a>
    <div class='pager_btn'>
        <span class='page_num'>
            <?php echo $doclist->currentPage(); ?>/
            <?php echo $doclist->lastPage(); ?>
        </span>
    </div>
    <a class='disabled' href='<?php echo '
        ?page='.($doclist->currentPage() < $doclist->lastPage() ? $doclist->currentPage()+1 : $doclist->lastPage()); ?>'>下页</a>
    <a class='disabled' href='<?php echo ' ?page='.$doclist->lastPage(); ?>'>末页</a>
</div>


{/block}